package day07.ZiXi;

import java.time.LocalDateTime;

public class LocalDateTime01 {
    public static void main(String[] args) {
        //public static LocalDateTime now()获取当前系统时间
        LocalDateTime zxc = LocalDateTime.now();
        System.out.println(zxc);
        //public static LocalDateTime of  (年, 月 , 日, 时, 分, 秒)使用指定年月日和时分秒初始化一个LocalDateTime对象
        LocalDateTime zx = LocalDateTime.of(2014,12,04,14,25,57);
        System.out.println(zx);
    }
}
